﻿#include "CashRebate.h"

CashRebate::CashRebate(QString moneyRebate)
{
    m_moneyRebate = moneyRebate.toDouble();
}

double CashRebate::acceptCash(double money)
{
    return money * m_moneyRebate;
}
